package org.oschina.api.discuss.forum.dao;

import java.util.List;
import org.oschina.api.BaseDAO;
import org.oschina.api.discuss.forum.vo.DiscussForumIndexVo;
import org.springframework.stereotype.Repository;

@Repository
public class DiscussForumIndexDAO extends BaseDAO {

	private final String findVo[]={"id","name"};
	
	public List<DiscussForumIndexVo> findVo()
	{
		return getQueryHelper().query_cache(findVo, null, null, null, DiscussForumIndexVo.class, -1, -1);
	}
}